package com.example.MovieRecommenderSystem.lesson2;


import com.example.MovieRecommenderSystem.lesson.Filter;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

public class CollaborativeFilter implements Filter{

    public String[] getRecommendations(String movie) {
        //基于协作过滤器的逻辑
        return new String[] {"Finding Nemo", "Ice Age", "Toy Story"};
    }
}